package com.tl.bootmeter.pojo;

import java.io.Serializable;
import java.util.List;

public class User implements Serializable {
    //用户id
    private long uid;
    //账号
    private String uname;
    //密码
    private String upass;
    //性别
    private String ugender;
    //用户等级
    private String ulevel;
    //电话
    private String uphone;
    //昵称
    private String unickName;
    //权限信息
    private List<DistrictStationResult> dsmap;
    //	//管区信息
//	private List<District> districtList;
//	//站信息
//	private List<Station> stationList;
    public long getUid() {
        return uid;
    }
    public void setUid(long uid) {
        this.uid = uid;
    }
    public String getUname() {
        return uname;
    }
    public void setUname(String uname) {
        this.uname = uname;
    }
    public String getUpass() {
        return upass;
    }
    public void setUpass(String upass) {
        this.upass = upass;
    }
    public String getUgender() {
        return ugender;
    }
    public void setUgender(String ugender) {
        this.ugender = ugender;
    }
    public String getUlevel() {
        return ulevel;
    }
    public void setUlevel(String ulevel) {
        this.ulevel = ulevel;
    }
    public String getUphone() {
        return uphone;
    }
    public void setUphone(String uphone) {
        this.uphone = uphone;
    }
    public String getUnickName() {
        return unickName;
    }
    public void setUnickName(String unickName) {
        this.unickName = unickName;
    }
    public List<DistrictStationResult> getDsmap() {
        return dsmap;
    }
    public void setDsmap(List<DistrictStationResult> dsmap) {
        this.dsmap = dsmap;
    }
    public User() {
        super();
    }
    public User(long uid, String uname, String upass, String ugender,
                String ulevel, String uphone, String unickName,
                List<DistrictStationResult> dsmap) {
        super();
        this.uid = uid;
        this.uname = uname;
        this.upass = upass;
        this.ugender = ugender;
        this.ulevel = ulevel;
        this.uphone = uphone;
        this.unickName = unickName;
        this.dsmap = dsmap;
    }
    @Override
    public String toString() {
        return "User [uid=" + uid + ", uname=" + uname + ", upass=" + upass
                + ", ugender=" + ugender + ", ulevel=" + ulevel + ", uphone="
                + uphone + ", unickName=" + unickName + ", dsmap=" + dsmap
                + "]";
    }

}
